﻿
namespace ES.Controllers
{
    using System.Linq;
    using System.Web.Mvc;
    using ES.Models;

    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            ViewBag.Title = "Anasayfa";
            return View(new HomeVm
            {
                ProductList = Db.Products.ToList()
            });
        }

    }
}
